package com.etone.smartAudit.vo.workOrder;

import com.etone.smartAudit.enums.WorkOrderState;
import com.etone.smartAudit.enums.WorkRectifyType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 张任豪
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@ApiModel(value = "工单列表")
public class WorkOrderVO implements Serializable {

    @ApiModelProperty("工单id")
    private Integer id;

    @ApiModelProperty("整改编码")
    private String rectifyCode;

    @ApiModelProperty("整改年限")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date rectifyEndDate;

    @ApiModelProperty("项目名称")
    private String itemName;

    @ApiModelProperty("项目类型")
    private String itemTypeName;

    @ApiModelProperty("年份")
    private String year;

    @ApiModelProperty("审计组联系人")
    private String auditGroup;

    @ApiModelProperty("审计组联系人账号")
    private String auditGroupAccount;

    @ApiModelProperty("审计单位")
    private String auditUnit;

    @ApiModelProperty("工单状态")
    private String orderState;

    @ApiModelProperty("工单负责人")
    private String wordOrderName;

    @ApiModelProperty("整个结果")
    private String rectifyResult;

    @ApiModelProperty("反馈时间")
    private Date feedBack;

    @ApiModelProperty("创建时间")
    private Date creatTime;

    @ApiModelProperty("创建人Id")
    private Integer createId;

}
